package com.zeus.dubbo.configuration;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * 配置应用标识
 */
@Configuration
public class TrackAppConfig {
    private Logger logger = LoggerFactory.getLogger(getClass());
    public TrackAppConfig() {
        if(logger.isDebugEnabled()){
            logger.debug("init TrackAppConfig ");
        }
    }

    @Value("${appCode:#{null}}")

    private String appCode;

    public String getAppCode() {
        return appCode;
    }

    public void setAppCode(String appCode) {
        this.appCode = appCode;
    }
}
